<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="content-type"
 content="text/html; charset=ISO-8859-1">
 
  <title>M5 Test Plan</title>
  
<style type="text/css">
<!--
h4 { margin-bottom:3pt;}
ul { margin-top:3pt;}
-->
</style>
  
</head>

<body>
<h2>3.1 M5 Test Grid</h2>

Test day: Wednesday, February 16, 2005<br>
Components: JDT/Text, JDT/UI, Platform/Search, and Platform/Text<br>
Testers so far: Martin Aeschlimann, Daniel Megert, Markus Keller, Tobias Widmer, Tom Eicher<br>

<h4>Introduction (all)</h4>
A big part of this test pass is devoted to verifying support for new Java 5.0 language features, namely:
<ul>
  <li>Generics</li>
  <li>Annotations</li>
  <li>Enums</li>
  <li>Varargs</li>
  <li>Static Imports</li>
  <li>Autoboxing</li>
  <li>Enhanced For Loop</li>
</ul>

Check the
<a href="http://www.eclipse.org/jdt/ui/r3_1/j2se50/Status.html">JDT UI and Text 5.0 status</a>
to see what's already done and what's still in the works.

<h4>Bug verification (all)</h4>
Verify P1 and P2 bugs fixed during M5.<br>
<ul>
  <li><a
 href="https://bugs.eclipse.org/bugs/buglist.cgi?short_desc_type=allwordssubstr&amp;short_desc=&amp;product=JDT&amp;component=Text&amp;component=UI&amp;target_milestone=3.1+M5&amp;long_desc_type=allwordssubstr&amp;long_desc=&amp;bug_file_loc_type=allwordssubstr&amp;bug_file_loc=&amp;keywords_type=allwords&amp;keywords=&amp;bug_status=RESOLVED&amp;resolution=FIXED&amp;priority=P1&amp;priority=P2&amp;emailtype1=substring&amp;email1=&amp;emailtype2=substring&amp;email2=&amp;bugidtype=include&amp;bug_id=&amp;votes=&amp;changedin=&amp;chfieldfrom=&amp;chfieldto=Now&amp;chfieldvalue=&amp;cmdtype=doit&amp;namedcmd=Assigned+to+me&amp;newqueryname=&amp;order=Reuse+same+sort+as+last+time&amp;field0-0-0=noop&amp;type0-0-0=noop&amp;value0-0-0=">P1
&amp; P2 bugs in JDT/UI &amp; JDT/Text (11)<br>
    </a></li>
  <li><a
 href="https://bugs.eclipse.org/bugs/buglist.cgi?short_desc_type=allwordssubstr&amp;short_desc=&amp;product=Platform&amp;component=Search&amp;component=Text&amp;target_milestone=3.1+M5&amp;long_desc_type=allwordssubstr&amp;long_desc=&amp;bug_file_loc_type=allwordssubstr&amp;bug_file_loc=&amp;keywords_type=allwords&amp;keywords=&amp;bug_status=RESOLVED&amp;resolution=FIXED&amp;priority=P1&amp;priority=P2&amp;emailtype1=substring&amp;email1=&amp;emailtype2=substring&amp;email2=&amp;bugidtype=include&amp;bug_id=&amp;votes=&amp;changedin=&amp;chfieldfrom=&amp;chfieldto=Now&amp;chfieldvalue=&amp;cmdtype=doit&amp;namedcmd=Assigned+to+me&amp;newqueryname=&amp;order=Reuse+same+sort+as+last+time&amp;field0-0-0=noop&amp;type0-0-0=noop&amp;value0-0-0=">P1
&amp; P2 bugs in Platform/Search &amp; Platform/Text (10)</a><br>
  </li>
</ul>


<h3>Misc</h3>

<h4>Icons for new java elements (Tom, Martin)</h4>
<ul>
	<li>check correct modifiers (final, static, ...) for annotations, enums, and their children</li>
</ul>

<h4>New Help View (Markus, Tobias)</h4>
<ul>
  <li>verify correct content of all our views and editors</li>
</ul>

<h4>Quick Fixes (Dani, Tom)</h4>
<ul>
	<li>quick fixes in 5.0 code: generic types, annotations, enums</li>
	<li>new advanced quick assist, see bug 82220</li>
</ul>


<h4>Project Specific Settings (Markus, Tobias)</h4>
<ul>
	<li>code templates, formatter</li>
</ul>


<h4>Search (Dani, Tom)</h4>
<ul>
	<li>search for type parameters</li><li>search for parametrized types</li>
	<li>search for enum types and constants</li>
</ul>


<h4>Build Path Setup (Markus, Dani)</h4>
<ul>
	<li>New Java Project Wizard: test new source folder wizard page</li>
	<li>Package Explorer context menu: Build Path &gt; [Add to / Remove from] buildpath</li>
</ul>


<h4>Source Actions (Dani, Markus)</h4>
<ul>
  <li>test all source actions (actions in the workbench or context menu "Source") according to the
		<a href="http://www.eclipse.org/jdt/ui/r3_1/j2se50/Status.html">Status</a>
  </li>
  <li>test Override/Implement Methods with varargs and generics</li>
  <li>test Organize Imports with annotations</li>
</ul>

<h3>Refactorings</h3>

<h4>Rename Refactorings (Tobias, Martin)</h4>
<ul>
  <li>test all rename refactorings according to the
		<a href="http://www.eclipse.org/jdt/ui/r3_1/j2se50/Status.html">Status</a>
  </li>
</ul>

<h4>Method refactorings (Tobias, Tom)</h4>
<ul>
  <li>Change Method Signature
    <ul>
      <li>test the refactoring according to the
			<a href="http://www.eclipse.org/jdt/ui/r3_1/j2se50/Status.html">Status</a>
      </li>
      <li>change signatures of generic methods and of methods with parameterized types as parameters</li>
      <li>check content assist in the parameters table</li>
      <li>change signatures of varargs methods</li>
    </ul>
  </li>
  
	<li>Inline Method
		<ul>
		  <li>test methods with type parameters (both from generic and parameterized types)</li>
		  <li>test methods with varargs</li>
		  <li>test inlining methods referring to static imports</li>
		</ul>
	</li>
  
</ul>

<h4>Other refactorings (Markus, Tom)</h4>
<ul>
	<li>Inline Constant</li>
	<li>Inline and Extract Local Variable</li>
	<li>Extract Interface</li>
	<li>Introduce Factory
		<ul>
		  <li>test constructors with type parameters</li>
		  <li>test constructors with varargs (be aware of bug 84724)</li>
		</ul>
	</li>
	<li>Generalize Type
		<ul>
		  <li>test generalizing parameterized types</li>
		</ul>
	</li>
</ul>


<h3>Text</h3>


<h4>Encoding (Martin, Tom)</h4>
<ul>
  <li>verify that Edit &gt; Encoding is available in all editors</li>
  <li>verify that encoding change dialog now rejects invalid encodings</li>
</ul>


<h4>Word Completion (Tobias, Markus)</h4>
<ul>
  <li>Test word completion (Edit &gt; Word Complete) in both Text and Java editors</li>
</ul>


<h4>Content Assist (Dani, Tobias)</h4>
<ul>
  <li>check enhanced for-loop template</li>
  <li>check completion of enum types and constants</li>
  <li>Check arguments insertion when completing a generic type<br>
  </li>
  <ul>
    <li>enable Java&gt;Editor&gt;Code Assist, Advanced&gt;'Fill argument names'</li>
  </ul>
  <li>Check parameter guessing when completeing a method of a generic type with a wildcard type bound</li>
  <ul>
    <li>enable Java&gt;Editor&gt;Code Assist, Advanced&gt;'Guess filled argument names'</li>
    <li>example: invoke code assist at the caret (|) location:<br>
<pre>
		 void method(List&lt;? extends Number&gt; upper, List&lt;? super Number&gt; lower) {
		 		 upper.|
		 		 lower.|
		 }
</pre>
    </li>
  </ul>

</ul>
<ul>
  <li>Check parameter guessing and autoboxing</li>
  <ul>
    <li>enable Java&gt;Editor&gt;Code Assist, Advanced&gt;'Guess filled argument names'</li>
    <li>example: complete the call to get(int) <br>
<pre>
		 void method(Integer i1, int i2, List list) {
		 		 list.get|
		 }
</pre>
    </li>
  </ul>

</ul>
<ul>
  <li>Check content assist for type variables within @param javadoc tags</li>
</ul>


<h4>Syntax coloring (Martin, Markus)</h4>
<ul>
  <li>test the following colorings (see the preference page coloring preview to find out what they mean)<br>
  </li>
  <ul>
    <li>method names</li>
    <li>annotations being declared</li>
    <li>annotations to a java element<br>
    </li>
    <li>annotation element names<br>
    </li>
    <li>type variables</li>
    <li>autoboxed expressions<br>
    </li>
  </ul>
</ul>

<h4>Folding (Markus, Tom)</h4>
<ul>
  <li>Test that annotated java elements are properly folded (the caption line should display the element name)</li>
  <li>Test header comment folding</li>
  <li>enable/disable folding in different combinations
	<ul>
		<li>use more than one workbench window (and open the same file in both windows)</li>
		<li>minimize one workbench window, toggle folding, then maximize workbench window</li>
	</ul>		
  </li>
</ul>

<h4>Typing (Tobias, Dani)</h4>
<ul>
  <li>Test auto-insertion of &lt;angle brackets&gt; in 5.0 code</li>
</ul>

<h4>Mark Occurrences (Tobias, Markus)</h4>
<ul>
  <li>Test occurrences marking of</li>
  <ul>
    <li>static imports</li>
    <li>generic types</li>
    <li>generic methods<br>
    </li>
  </ul>
</ul>

<h4>File Actions (Tom, Martin)</h4>
<ul>
	<li>close editors (text and Java) of file which is open in two workbench windows (both dirty, only one dirty, none dirty)</li>
	<li>test Save As
		<ul>
			<li>new file</li>
			<li>over same file</li>
			<li>over another existing file</li>
		</ul>
	</li>
</ul>


<!-- 

<h4></h4>
<ul>
	<li></li>
	<li>
		<ul>
			<li></li>
		</ul>
	</li>
</ul>

-->
</body></html>